<template>
  <div>
    <h2>登录日志：</h2>
    <el-table :data="tableData" stripe style="width: 100%" border>
      <el-table-column prop="ip" label="登录IP" width="180"></el-table-column>
      <el-table-column prop="date" label="登录时间" width="180"></el-table-column>
      <el-table-column prop="companyName" label="公司名称"></el-table-column>
      <el-table-column prop="companyType" label="公司类型"></el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: "logManage",
  data() {
    return {
      tableData: [
        {
          ip:'106.192.16.1',
          date: "2016-05-02",
          companyName: "王小虎",
          companyType: "上海市普陀区金沙江路 1518 弄"
        },
        {
          ip:'106.192.16.1',
          date: "2016-05-04",
          companyName: "王小虎",
          companyType: "上海市普陀区金沙江路 1517 弄"
        },
        {
          ip:'106.192.16.1',
          date: "2016-05-01",
          companyName: "王小虎",
          companyType: "上海市普陀区金沙江路 1519 弄"
        },
        {
          ip:'106.192.16.1',
          date: "2016-05-03",
          companyName: "王小虎",
          companyType: "上海市普陀区金沙江路 1516 弄"
        }
      ]
    };
  }
};
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
@import "../../styles/norlize.scss";
</style>